﻿<Window x:Class="Dotway.WPF.Samples.DotwaySampleApplication.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Dotway.WPF.Samples.DotwaySampleApplication"
    Title="Dotway WPF Sample Appplication - www.dotway.se" Height="600" Width="800" Icon="blackicon.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Border x:Name="header" Grid.Row="0">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.144,0.5" StartPoint="0.856,0.5">
                    <GradientStop Color="#FF000000" Offset="0"/>
                    <GradientStop Color="#FF343434" Offset="1"/>
                </LinearGradientBrush>
            </Border.Background>
            <Button x:Name="logoButton" Click="LogoButtonClick" Cursor="Hand">
                <Button.Template>
                    <ControlTemplate>
                        <Image Source="dotwaylogo.jpg" Width="150" HorizontalAlignment="Right"/>
                    </ControlTemplate>
                </Button.Template>
            </Button>
        </Border>

        <TabControl Grid.Row="1">
            <TabItem Header="ColorPicker">
                <Grid>
                    <local:ColorPickerSample />
                </Grid>
            </TabItem>
            <TabItem Header="TransformInteraction">
                <Grid>
                    <local:TransformInteractionSample />
                </Grid>
            </TabItem>
            <TabItem Header="EditSlider">
                <Grid>
                    <local:EditSliderSample />
                </Grid>
            </TabItem>
            <TabItem Header="GrayscaleEffect">
                <Grid>
                    <local:GrayscaleEffectSample />
                </Grid>
            </TabItem>
            <TabItem Header="WaveEffect">
                <Grid>
                    <local:WaveEffectSample />
                </Grid>
            </TabItem>
            <TabItem Header="PixelateEffect">
                <Grid>
                    <local:PixelateEffectSample />
                </Grid>
            </TabItem>
            <TabItem Header="AMEffect">
                <Grid>
                    <local:AmplitudeModulatedEffect />
                </Grid>
            </TabItem>
            <TabItem Header="DynamicWrapPanel">
                <Grid>
                    <local:DynamicWrapPanelSample />
                </Grid>
            </TabItem>
            <TabItem Header="ZipperPanel">
                <Grid>
                    <local:ZipperPanelSample />
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
